Remember the value of read_process_output_max when process is created
authorDmitry Gutov <dmitry@gutov.dev>
Sat, 8 Jun 2024 23:51:47 +0000 (02:51 +0300)
committerDmitry Gutov <dmitry@gutov.dev>
Sat, 8 Jun 2024 23:51:47 +0000 (02:51 +0300)
commit8cf6e311b87fabeba70d59647883a86c8c92b86f
tree143445c17eaf8874cae0d0496ee085555fee249b
parentbbc18031aff6f22a1f2b63355f18f294fbdeb797
Remember the value of read_process_output_max when process is created

* src/process.h (Lisp_Process): Add field readmax.

* src/process.c (read_process_output): Use it.
(create_process): Save the value of read_process_output_max to
it when the process is created (bug#66020).  Use for pipe size.
src/process.c
src/process.h